projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10eafa1
)
Blackfin: add a netconsole helper
author
Robin Getz
<
[email protected]
>
Mon, 21 Dec 2009 20:31:08 +0000
(15:31 -0500)
committer
Mike Frysinger
<
[email protected]
>
Sun, 17 Jan 2010 14:17:27 +0000
(09:17 -0500)
Signed-off-by: Robin Getz <
[email protected]
>
Signed-off-by: Mike Frysinger <
[email protected]
>
include/configs/bfin_adi_common.h
patch
|
blob
|
history
diff --git
a/include/configs/bfin_adi_common.h
b/include/configs/bfin_adi_common.h
index db10ccca7c18e954a1081bb1369a3eb77033a165..f7a2d5c111016e1a00d1f7e83d0b3d56cb88880d 100644
(file)
--- a/
include/configs/bfin_adi_common.h
+++ b/
include/configs/bfin_adi_common.h
@@
-178,7
+178,19
@@
"erase 0x20000000 +$(filesize);" \
"cp.b $(loadaddr) 0x20000000 $(filesize)"
# endif
+# ifdef CONFIG_NETCONSOLE
+# define NETCONSOLE_ENV \
+ "nc=" \
+ "set ncip ${serverip};" \
+ "set stdin nc;" \
+ "set stdout nc" \
+ "\0"
+# else
+# define NETCONSOLE_ENV
+# endif
# define NETWORK_ENV_SETTINGS \
+ NETCONSOLE_ENV \
+ \
"ubootfile=" UBOOT_ENV_FILE "\0" \
"update=" \
"tftp $(loadaddr) $(ubootfile);" \